.class final Lcom/greystripe/sdk/t;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/greystripe/sdk/s;


# direct methods
.method constructor <init>(Lcom/greystripe/sdk/s;)V
    .locals 0

    iput-object p1, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 12

    const/4 v3, 0x0

    const/4 v8, -0x1

    const/high16 v11, 0x3f80

    const/4 v4, 0x0

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v0}, Lcom/greystripe/sdk/c;->m(Lcom/greystripe/sdk/c;)V

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v0}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v0

    invoke-virtual {v0}, Lcom/greystripe/sdk/aa;->getRootView()Landroid/view/View;

    move-result-object v0

    const v2, 0x1020002

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    move-object v9, v0

    check-cast v9, Landroid/view/ViewGroup;

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-virtual {v9, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;Landroid/view/View;)Landroid/view/View;

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v2, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v2}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;

    iget-object v2, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v0}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v0

    invoke-virtual {v0}, Lcom/greystripe/sdk/aa;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Lcom/greystripe/sdk/z;

    invoke-static {v2, v0}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;Lcom/greystripe/sdk/z;)Lcom/greystripe/sdk/z;

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0}, Lcom/greystripe/sdk/s;->b(Lcom/greystripe/sdk/s;)Lcom/greystripe/sdk/z;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0, v3}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;Landroid/view/View;)Landroid/view/View;

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0, v3}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;Lcom/greystripe/sdk/z;)Lcom/greystripe/sdk/z;

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    new-instance v2, Landroid/widget/FrameLayout;

    iget-object v3, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v3, v3, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v3}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v3

    invoke-virtual {v3}, Lcom/greystripe/sdk/aa;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v2, v3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    invoke-static {v0, v2}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;Landroid/widget/FrameLayout;)Landroid/widget/FrameLayout;

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0}, Lcom/greystripe/sdk/s;->b(Lcom/greystripe/sdk/s;)Lcom/greystripe/sdk/z;

    move-result-object v0

    invoke-virtual {v0}, Lcom/greystripe/sdk/z;->getChildCount()I

    move-result v2

    move v0, v1

    :goto_1
    if-ge v0, v2, :cond_1

    iget-object v3, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v3}, Lcom/greystripe/sdk/s;->b(Lcom/greystripe/sdk/s;)Lcom/greystripe/sdk/z;

    move-result-object v3

    invoke-virtual {v3, v0}, Lcom/greystripe/sdk/z;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    iget-object v5, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v5, v5, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v5}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v5

    if-eq v3, v5, :cond_1

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_1
    iget-object v2, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v2, v0}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;I)I

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0}, Lcom/greystripe/sdk/s;->b(Lcom/greystripe/sdk/s;)Lcom/greystripe/sdk/z;

    move-result-object v0

    iget-object v2, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v2}, Lcom/greystripe/sdk/s;->c(Lcom/greystripe/sdk/s;)Landroid/widget/FrameLayout;

    move-result-object v2

    iget-object v3, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v3}, Lcom/greystripe/sdk/s;->d(Lcom/greystripe/sdk/s;)I

    move-result v3

    new-instance v5, Landroid/view/ViewGroup$LayoutParams;

    iget-object v6, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v6, v6, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v6}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v6

    invoke-virtual {v6}, Lcom/greystripe/sdk/aa;->getWidth()I

    move-result v6

    iget-object v7, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v7, v7, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v7}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v7

    invoke-virtual {v7}, Lcom/greystripe/sdk/aa;->getHeight()I

    move-result v7

    invoke-direct {v5, v6, v7}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v2, v3, v5}, Lcom/greystripe/sdk/z;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    new-instance v10, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v10, v8, v8}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    iget-object v2, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v2}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    int-to-float v2, v2

    iget-object v3, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v3}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3}, Landroid/view/View;->getHeight()I

    move-result v3

    div-int/lit8 v3, v3, 0x2

    int-to-float v6, v3

    move v3, v1

    move v5, v1

    move v7, v1

    move v8, v4

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    const-wide/16 v2, 0x1f4

    invoke-virtual {v0, v2, v3}, Landroid/view/animation/Animation;->setDuration(J)V

    new-instance v2, Landroid/view/animation/ScaleAnimation;

    invoke-direct {v2, v4, v11, v4, v11}, Landroid/view/animation/ScaleAnimation;-><init>(FFFF)V

    const-wide/16 v3, 0x1f4

    invoke-virtual {v2, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v2, v1}, Landroid/view/animation/Animation;->setFillBefore(Z)V

    new-instance v3, Landroid/view/animation/AnimationSet;

    invoke-direct {v3, v1}, Landroid/view/animation/AnimationSet;-><init>(Z)V

    invoke-virtual {v3, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    invoke-virtual {v3, v2}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    invoke-virtual {v9, v1}, Landroid/view/ViewGroup;->removeViewAt(I)V

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0}, Lcom/greystripe/sdk/s;->b(Lcom/greystripe/sdk/s;)Lcom/greystripe/sdk/z;

    move-result-object v0

    iget-object v2, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v2, v2, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v2}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/greystripe/sdk/z;->removeView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v0}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v0

    invoke-virtual {v9, v0, v1, v10}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v0}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/greystripe/sdk/aa;->startAnimation(Landroid/view/animation/Animation;)V

    iget-object v0, p0, Lcom/greystripe/sdk/t;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/greystripe/sdk/c;->b(Lcom/greystripe/sdk/c;Z)Z

    goto/16 :goto_0
.end method
